import request from '@/utils/request'

// 查询项目表列表
export function listAwards(query) {
  return request({
    url: '/Awards/awards/list',
    method: 'get',
    params: query
  })
}

// 查询项目表详细
export function getAwards(awardId) {
  return request({
    url: '/Awards/awards/' + awardId,
    method: 'get'
  })
}

// 新增项目表
export function addAwards(data) {
  return request({
    url: '/Awards/awards',
    method: 'post',
    data: data
  })
}

// 修改项目表
export function updateAwards(data) {
  return request({
    url: '/Awards/awards',
    method: 'put',
    data: data
  })
}

// 删除项目表
export function delAwards(awardId) {
  return request({
    url: '/Awards/awards/' + awardId,
    method: 'delete'
  })
}


//查询专家审核论文列表
export function listPaperByExpert() {
  return request({
    url: '/Awards/awards/byExpert' ,
    method: 'get'
  })
}